package com.att.service.impl;

import com.att.bean.DeptBean;
import com.att.dao.DeptDaoMapper;
import com.att.service.DeptService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("deptService")
public class DeptServiceImpl implements DeptService {

    @Resource
    private DeptDaoMapper deptDaoMapper;

    @Override
    public List<DeptBean> findDeptName() {
        return deptDaoMapper.findDeptName();
    }
}
